package oop;

public class PhoneDemo {
    public static void main(String[] args) {
        //创建对象
        Phone phone = new Phone();
        phone.setBrand("苹果");
        phone.setPrice(9799);
        phone.call("张曼玉");


        //创建对象
        Phone phone1 = new Phone();
        phone1.setBrand("华为");
        phone1.setPrice(9999);
        phone1.call("林青霞");


    }

}
